﻿@*@{
    ViewData["Title"] = "后台管理";
}*@

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>@ViewData["Title"]</title>
    <link href="~/lib/bootstrap/bootstrap.min.css" rel="stylesheet" />
    <script src="~/lib/jquery/dist/jquery.js"></script>
    <script src="~/lib/bootstrap/bootstrap.min.js"></script>
    <link href="~/admin/layui/css/layui.css" rel="stylesheet" />
    <link href="~/lib/editormd/css/editormd.min.css" rel="stylesheet" />
    <script src="~/lib/editormd/editormd.min.js"></script>
    <script src="~/admin/layui/layui.all.js"></script>
</head>
<body>
    <nav class="navbar navbar-expand-lg navbar-light bg-light">
        <div class="navbar-brand" style="margin-left: 9.8em;">
            <img src="~/images/admin.jpg" width="32" height="32" class="d-inline-block align-top" alt="">
            <span style=" font-size:24px;">※听雨※</span>
        </div>
        <div class="collapse navbar-collapse" id="navbarNav" style="margin-left: 10em;">
            <ul class="navbar-nav">
                <li class="@(ViewData["Title"].ToString()=="文章管理" ? "nav-item active" : "nav-item")" style="margin:0 1.5em;">
                    <a class="nav-link" asp-route="ArticleManage">文章管理<span class="sr-only"></span></a>
                </li>
                <li class="@(ViewData["Title"].ToString()=="分类管理" ? "nav-item active" : "nav-item")" style="margin:0 1.5em;">
                    <a class="nav-link" asp-route="ArticleClassifyManage">分类管理</a>
                </li>
                <li class="@(ViewData["Title"].ToString()=="标签管理" ? "nav-item active" : "nav-item")" style="margin:0 1.5em;">
                    <a class="nav-link" asp-route="TagManagePage">标签管理</a>
                </li>
                <li class="@(ViewData["Title"].ToString()=="搜索" ? "nav-item active" : "nav-item")" style="margin:0 1.5em;">
                    <a class="nav-link" asp-route="SearchForm">搜索</a>
                </li>
                <li class="nav-item" style="        margin: 0 1.5em;">
                    <a class="nav-link" asp-route="Logout" tabindex="-1" aria-disabled="true">退出</a>
                </li>
            </ul>
        </div>
    </nav>

    <div class="container" style="padding-top: 2em;">
        <div id="main">
            @RenderBody()
        </div>


    </div>
</body>
</html>
